name_list = ['TOM', 'Lily', 'ROSE']

# 1. 修改指定下标的数据
# name_list[0] = 'aaa'
# print(name_list)

# 2. 逆序 reverse()
list = [1, 3, 2, 5, 4, 6]
# list.reverse()
# print(list)

# 3. sort() 排序: 升序和降序

# list.sort(reverse=False)
list.sort(reverse=True)

print(list)